.user-car-license-page-container {
  background: #f5f5f5;
  min-height: 100vh;
}

.user-car-license-subject-pass-container {
  min-height: 100vh;
  background-color: #f0f2f5;
  padding: 30rpx;
  padding-top: 120rpx;
}

.user-car-license-content-wrapper {
  max-width: 1200rpx;
  margin: 0 auto;
}

/* 主卡片样式 */
.user-car-license-main-card {
  background-color: white;
  border-radius: 24rpx;
  box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.08);
  padding: 48rpx;
  margin-bottom: 48rpx;
  position: relative;
  overflow: hidden;
}

/* 二维码容器样式 */
.user-car-license-qr-code-container {
  position: absolute;
  bottom: 20rpx;
  right: 20rpx;
  width: 120rpx;
  height: 120rpx;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8rpx;
  display: flex;
  justify-content: center;
  align-items: center;
}

.user-car-license-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
}

/* 科目列表样式 */
.user-car-license-subject-list {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.user-car-license-subject-list > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.user-car-license-subject-item {
  display: flex;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  padding: 24px;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
}

.user-car-license-subject-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.user-car-license-subject-title {
  font-size: 32px;
  font-weight: 600;
  color: #1f1f1f;
  margin-bottom: 8px;
}

.user-car-license-subject-score {
  font-size: 24px;
  color: #333333;
  margin-bottom: 8px;
}

.user-car-license-subject-score-highlight {
  font-weight: 700;
  color: #ff4d4f;
}

.user-car-license-subject-update-time {
  font-size: 20px;
  color: #8c8c8c;
}

/* 得分信息卡片样式 */
.user-car-license-score-info-card {
  background-color: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.user-car-license-score-info-text {
  color: #333333;
  margin-bottom: 8px;
}

.user-car-license-score-info-highlight {
  font-weight: 700;
  color: #ff4d4f;
}

.user-car-license-price-info-highlight {
  font-weight: 700;
  color: #1890ff;
}

.user-car-license-exchange-warning {
  font-weight: 700;
  color: #fa8c16;
  font-size: 40rpx;
}

.user-car-license-qrcode-tip {
  color: #ff4d4f;
  margin-bottom: 12px;
  margin-top: 12px;
}

/* 二维码网格样式 */
.user-car-license-qrcode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.user-car-license-qrcode-item {
  width: 100%;
  padding: 8px;
}

.user-car-license-qrcode-card {
  background-color: #e6f7ff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
}

.user-car-license-qrcode-sn {
  font-size: 20px;
  font-weight: 400;
  margin-top: 8px;
}

.user-car-license-qrcode-sn-highlight {
  font-weight: 700;
}

.user-car-license-qrcode-time {
  font-size: 20px;
  color: #bfbfbf;
  margin-top: 4px;
}

/* 温馨提示样式 */
.user-car-license-warning-box {
  background-color: #fff2f0;
  border: 2px dashed #ffccc7;
  border-radius: 12px;
  padding: 24px;
}

.user-car-license-warning-title {
  font-size: 40rpx;
  font-weight: 700;
  color: #ff4d4f;
  margin-bottom: 12px;
}

.user-car-license-warning-content {
  color: #333333;
}

.user-car-license-warning-highlight {
  font-weight: 700;
  color: #ff4d4f;
}

/* 全屏二维码模态框样式 */
.user-car-license-fullscreen-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.user-car-license-modal-content {
  background-color: white;
  border-radius: 12px;
  padding: 24px;
  max-width: 400px;
  width: 100%;
}

.user-car-license-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.user-car-license-modal-title {
  font-size: 32px;
  font-weight: 700;
}

.user-car-license-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.user-car-license-modal-qrcode-info {
  font-size: 20px;
  color: #595959;
  margin-top: 16px;
}

.user-car-license-modal-qrcode-time {
  font-size: 20px;
  color: #bfbfbf;
  margin-top: 8px;
}

/* 文件上传样式 */
.user-car-license-file-upload {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 2px dashed #91caff;
  border-radius: 8px;
  width: fit-content;
  transition: background-color 0.3s;
}

.user-car-license-file-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  position: relative;
  width: 125px;
  height: 125px;
  background-color: #e5e7eb;
  overflow: hidden;
  margin-right: 16px;
}

.user-car-license-delete-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 25px;
  height: 25px;
  background-color: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px #f5f5f5;
  z-index: 10;
}

.image-modal-icons-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.modal-top-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-bottom-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.user-car-license-file-name {
  flex: 1;
  font-size: 24px;
  color: #595959;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 汽车插图样式 */
.user-car-license-car-illustration {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.user-car-license-car-container {
  position: relative;
  width: 224px;
  height: 96px;
}

.user-car-license-car-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 160px;
  height: 64px;
  background-color: #facc15;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-car-license-car-light-left,
.user-car-license-car-light-right {
  position: absolute;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: #3b82f6;
  border-radius: 50%;
}

.user-car-license-car-light-left {
  left: 8px;
}

.user-car-license-car-light-right {
  right: 8px;
}

.user-car-license-car-window {
  position: absolute;
  top: 20px;
  width: 20px;
  height: 16px;
  background-color: #dbeafe;
  border-radius: 2px;
}

.user-car-license-car-window-left {
  left: 16px;
}

.user-car-license-car-window-right {
  right: 16px;
}

.user-car-license-car-window-center {
  left: 48px;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.user-car-license-car-seat {
  width: 8px;
  height: 8px;
  background-color: #6b7280;
  border-radius: 50%;
}

.user-car-license-car-wheel {
  position: absolute;
  bottom: 0;
  margin-bottom: -8px;
  width: 24px;
  height: 24px;
  background-color: #374151;
  border-radius: 50%;
  border: 1px solid #4b5563;
}

.user-car-license-car-wheel-left {
  left: 8px;
}

.user-car-license-car-wheel-right {
  right: 32px;
}

.user-car-license-car-person {
  position: absolute;
  top: 16px;
  border-radius: 50%;
}

.user-car-license-car-driver {
  left: 16px;
  width: 24px;
  height: 32px;
  background-color: #eab308;
}

.user-car-license-car-passenger {
  width: 16px;
  height: 16px;
}

.user-car-license-car-passenger-1 {
  left: 56px;
  background-color: #93c5fd;
}

.user-car-license-car-passenger-2 {
  left: 80px;
  background-color: #f9a8d4;
}

.user-car-license-car-passenger-3 {
  left: 104px;
  background-color: #fde68a;
}

/* 装饰性元素样式 */
.user-car-license-decorative-circle {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  opacity: 0.5;
}

.user-car-license-decorative-circle-yellow {
  right: -40px;
  top: -40px;
  background-color: #fefce8;
}

.user-car-license-decorative-circle-green {
  left: -40px;
  bottom: -40px;
  background-color: #dcfce7;
}

/* 标题样式 */
.user-car-license-main-title {
  font-size: 36px;
  font-weight: 700;
  color: #2563eb;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 10;
}

/* 提示区域样式 */
.user-car-license-info-section {
  background-color: #f0f9ff;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #bae0ff;
  margin-bottom: 24px;
}

.user-car-license-section-title {
  font-size: 20px;
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: 12px;
}

.user-car-license-section-text {
  color: #374151;
  margin-bottom: 16px;
}

.user-car-license-highlight-text-red {
  color: #ef4444;
  margin-left: 4px;
  margin-right: 4px;
}

.user-car-license-highlight-text-orange {
  color: #f97316;
  margin-left: 4px;
  margin-right: 4px;
}

/* 表单样式 */
.user-car-license-form-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.user-car-license-form-wrapper {
  width: 100%;
  border: 2px dashed #91caff;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-content: center;
  background-color: white;
  padding: 16px;
  flex-wrap: wrap;
}

.user-car-license-form-input {
  margin-top: 8px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 24px;
  color: #000;
  width: 120px;
}

.user-car-license-form-button {
  width: 100%;
  margin-top: 32px;
}

/* 删除按钮样式 */
.user-car-license-delete-button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s;
}

/* 积分兑换样式 */
.user-car-license-exchange-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 24px;
  margin-bottom: 24px;
}

.user-car-license-exchange-tag {
  background-color: #dcfce7;
  color: #15803d;
  font-weight: 700;
  font-size: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 16px;
}

.user-car-license-exchange-item {
  background-color: #f9fafb;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.user-car-license-exchange-item-name {
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 4px;
}

.user-car-license-exchange-item-score {
  font-weight: 500;
  margin-bottom: 4px;
  color: #0ad31b;
}

.user-car-license-exchange-item-time {
  color: #d1d5db;
  font-size: 10px;
}

/* 响应式设计 */
@media (min-width: 768px) {
  .user-car-license-qrcode-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .user-car-license-main-title {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .user-car-license-qrcode-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .user-car-license-modal-content {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .user-car-license-qrcode-grid {
    grid-template-columns: 1fr;
  }
  
  .user-car-license-modal-content {
    max-width: 250px;
  }
}
